package day05;

import java.util.Scanner;

public class Addition {
    public static void main(String[] args) {
        Scanner scan=new Scanner(System.in);
        /*
        int score=0;
        for (int i=1;i<=10;i++){
            int a=(int)(Math.random()*100);
            int b=(int)(Math.random()*100);
            int result=a+b;
            System.out.println("("+i+")"+a+"+"+b+"=?");

            System.out.println("算吧！");
            int answer=scan.nextInt();
            if (answer==result){
                System.out.println("答对了");
                score += 10;
            }else{
                System.out.println("答错了");
            }
        }
        System.out.println("总分为"+score);
        */

         /*for (int o=0;o>=0;o+=2){
             if (o==12){
                 break;
             }
             System.out.println(o*2);
         }
         for (int num=1;num<=9;num++) {
             if (num % 3 == 0) {
                 continue;
             }

             System.out.println(num + "*9=" + num * 9);
         }
         int num=6;
         for (int i=1;i<=num;i++){
             System.out.println(i+"*"+num+"="+i*num+"\t");
         }
        System.out.println();*/
         for (int num=1;num<=9;num++){
             for (int i=1;i<=num;i++){
                 System.out.print(i+"*"+num+"="+i*num+"\t");
             }
             System.out.println();
         }



    }
}
